package com.xxx.entity;

public class Book {
    private int id;
    private String bName;
    private String bAut;
    private String bPub;
    private int bSum;
    private String path;
    private int result;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public Book(int id, String bName, String bAut, String bPub, int bSum, String path) {
        this.id = id;
        this.bName = bName;
        this.bAut = bAut;
        this.bPub = bPub;
        this.bSum = bSum;
        this.path = path;
    }

    public Book(int id, String bName, String bAut, String bPub, int bSum, String path, int result) {
        this.id = id;
        this.bName = bName;
        this.bAut = bAut;
        this.bPub = bPub;
        this.bSum = bSum;
        this.path = path;
        this.result = result;
    }

    public int getbSum() {
        return bSum;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public void setbSum(int bSum) {
        this.bSum = bSum;
    }

    public String getbName() {
        return bName;
    }

    public void setbName(String bName) {
        this.bName = bName;
    }

    public String getbAut() {
        return bAut;
    }

    public Book(String bName, String bAut, String bPub, int bSum, String path) {
        this.bName = bName;
        this.bAut = bAut;
        this.bPub = bPub;
        this.bSum = bSum;
        this.path = path;
    }

    public void setbAut(String bAut) {
        this.bAut = bAut;
    }

    public String getbPub() {
        return bPub;
    }

    public void setbPub(String bPub) {
        this.bPub = bPub;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Book() {
    }

    public Book(int id, String bName, String bAut, String bPub) {
        this.id = id;
        this.bName = bName;
        this.bAut = bAut;
        this.bPub = bPub;
    }

    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", bName='" + bName + '\'' +
                ", bAut='" + bAut + '\'' +
                ", bPub='" + bPub + '\'' +
                ", bSum=" + bSum +
                ", path='" + path + '\'' +
                ", result=" + result +
                '}';
    }
}
